// @import "./bootstrap-helpers/index.scss";
@import "./vars.scss";
@import "./bootstrap5/bootstrap-utilities.scss";
@import "./element/index.scss";
@import "./vxe-table-plus/index.scss";
@import "splitpanes/dist/splitpanes.css";
@import "./scrollbar.scss";
@import "./color-ext.scss";

[class^="link-"],
.cursor-point {
  cursor: pointer;
}
.cursor-move {
  cursor: move;
}

.flex-1 {
  flex: 1;
}
// iodc时引起占位问题
iframe {
  border: none;
}

.user-select-text {
  user-select: text;
}

.text-ellipsis {
  text-overflow: ellipsis;
}
.border-box {
  box-sizing: border-box;
}
.content-box {
  box-sizing: content-box;
}

fieldset {
  border: 1px solid var(--theme-gray-200);
  box-sizing: border-box;
  margin: 0;
  border-radius: 3px;
}
legend {
  color: var(--theme-gray-600);
  padding: 0 1em;
}

.overflow-ellipsis-2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden; //溢出内容隐藏
  text-overflow: ellipsis; //文本溢出部分用省略号表示
  display: -webkit-box; //特别显示模式
  -webkit-line-clamp: 2; //行数
  line-clamp: 2;
  -webkit-box-orient: vertical; //盒子中内容竖直排列
}
.overflow-ellipsis-3 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden; //溢出内容隐藏
  text-overflow: ellipsis; //文本溢出部分用省略号表示
  display: -webkit-box; //特别显示模式
  -webkit-line-clamp: 3; //行数
  line-clamp: 3;
  -webkit-box-orient: vertical; //盒子中内容竖直排列
}

.hover-scale {
  transition: all 0.2s;
  &:hover {
    transform: scale(1.25);
  }
}
.hover-pointer {
  &:hover {
    cursor: pointer;
  }
}
// 加深颜色
.hover-emphasis {
  &:hover {
    filter: brightness(0.5);
  }
}
